package Models;

public class YeastGensView {
    private int yeastGenID;
    private YeastView yeastID;
    private Brinks brinkID;
    private int generation;
    
	public int getYeastGenID() {
		return yeastGenID;
	}
	public void setYeastGenID(int yeastGenID) {
		this.yeastGenID = yeastGenID;
	}
	public YeastView getYeastID() {
		return yeastID;
	}
	public void setYeastID(YeastView yeastID) {
		this.yeastID = yeastID;
	}
	public Brinks getBrinkID() {
		return brinkID;
	}
	public void setBrinkID(Brinks brinkID) {
		this.brinkID = brinkID;
	}
	public int getGeneration() {
		return generation;
	}
	public void setGeneration(int generation) {
		this.generation = generation;
	}

    
    public String getDisplayString(){
        return Integer.toString(this.yeastGenID) + " - " + this.yeastID.getYeastName() +
                " - Gen: " + Integer.toString(this.generation) +
                " - Brink " + Integer.toString(brinkID.getBrinkID());
    }
    
    public String getYeastName(){
        return this.getYeastID().getYeastName();
    }
}
